package cn.usian.feign;

import cn.usian.pojo.Lessee;
import cn.usian.vo.LesseeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "lessee-service",fallback = LesseeFeignImpl.class)
public interface LesseeFeign {

    @RequestMapping("api/lessee/findLessee")
    public Lessee findLessee(@RequestParam("id") Long id);
}
